/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mancala;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author jsiebena
 */
public class HardAITestCWC8 {
    
    public HardAITestCWC8() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of Options method, of class HardAI.
     */
   @Test
    public void testCanWeCapture() {
        System.out.println("CanWeCapture");
        int[] tempvalue = new int[16];
        
       //tempvalue[0] = 0;
       tempvalue[1] = 1;
       tempvalue[2] = 2;
       tempvalue[3] = 3;
       tempvalue[4] = 4;
       tempvalue[5] = 5;
       tempvalue[6] = 0;
       tempvalue[7] = 7;
       tempvalue[8] = 8;
       tempvalue[9] = 9;
       tempvalue[10] = 10;
       tempvalue[11] = 11;
       tempvalue[12] = 12;
       tempvalue[13] = 13;
       tempvalue[14] = 14;
       tempvalue[15] = 15;
       
               
        
        int ChooseHole = 0;
        int expResult = 6;
        int result = HardAI.CanWeCapture(tempvalue, ChooseHole);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
      
    }

    /**
     * Test of FirstMove method, of class HardAI.
     */
  
}
